<template>
	<div id="index" class="page-main">
		<el-row type="flex" class="vertical-center" justify="center">
			<div id="index-content">
				<div class="title text center">
					KMP<i class="subtitle text">字符串匹配算法</i>
				</div>
				<div style="height:50px"></div>
				<div id="menu" class="text center">
					<p v-for="item in menu">
						<v-menu-item v-bind:text="item[0]" v-bind:icon="item[1]" v-bind:url="item[2]"></v-menu-item>
					</p>
				</div>				
			</div>
		</el-row>
	</div>
</template>

<script>
export default {
	data: function() {
		return {
			menu: [
				["开始学习", "el-icon-s-opportunity", "/lead"]
			]
		};
	},
}
</script>
